Levoric Learn LOGO

Levoric Learn




HTML Tutorial

Introduction <audio> tag

The <audio> HTML part is used to put sound stuff in papers. It may contain one or more audio sources, represented using the src attribute or the element: The browser will pick the best one. You can also use a MediaStream to watch streamed media.

HTML Example

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset ="UTF-8">
<!--This is our webpage it's our very first webpage-->
<title>Levoric | HTML Fundamentle Tutorial</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!--Write your content here levoriclearn top degree online and program-->
<h1>What is audio element</h1>
<audio controls>
<source src="your-audio-file.mp3" type="audio/mpeg">
</audio>
<!--Write your content here levoriclearn top degree online and program-->
</body>
</html>


output


Example-image-levoriclearn-logo-audio-a





Support Browser
Element LevoricLearn-education-top-university-degree LevoricLearn-education-top-university-degree LevoricLearn-education-top-university-degree LevoricLearn-education-top-university-degree
<audio> Yes Yes Yes Yes Yes